package com.example.joblinker.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户待办事项实体类
 */
@Data
@TableName("user_todos")
public class UserTodo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 待办ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 类型(resume/application/job等)
     */
    private String type;

    /**
     * 是否紧急
     */
    private Boolean urgent;

    /**
     * 操作文本
     */
    private String actionText;

    /**
     * 关联ID
     */
    private Long relatedId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 状态(pending/completed)
     */
    private String status;
} 